import {createRouter,createWebHistory} from "vue-router";
const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/home',
            component:()=>import('../view/home.vue')
        },
        {
            path:'/about',
            component:()=>import('../view/about.vue')
        }
    ]
})
export default router;